package com.abel.service_provider;

public class Main {

    public void test(){
        try {
            Class.forName("com.abel.service_provider.impl.OracleDriver");
            Driver driver = Manager.getRegister().get("oracle");
            driver.initialize();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        new Main().test();
    }
}
